package com.gxc.oauth2.service;

import com.gxc.oauth2.entity.TbPermissionEntity;
import com.gxc.oauth2.entity.TbUserEntity;

import java.util.List;

/**
 * @author GongXincheng
 * @since 2019-10-11 17:41
 */
public interface UserService {

    TbUserEntity findByUsername(String username);

    List<TbPermissionEntity> getUserPermissionList(Long id);

}
